/*
 * ttbqt - A teletekst browser
 * http://code.google.com/p/ttbqt
 * Copyright (C) 2011, Kevin van der Vlist
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef TTBQT_H
#define TTBQT_H

/**
 * Configuration for the buttons used in the ttbqt binary. 
 * Currently, it's configured so Emacs-like keys are used. 
 * To change; just edit and recompile.
 */

#define BUTTON_NEXT "f"
#define BUTTON_PREV "b"
#define BUTTON_UP "p"
#define BUTTON_DOWN "n"
#define BUTTON_QUIT "q"
#define BUTTON_HELP "h"
#define PAGE_SELECTOR "g"

/**
 * Some application information. 
 * This probably won't be needed to change. 
 */

#define VERSION_NUMBER "0.2"
#define AUTHOR "Kevin van der Vlist"
#define APPNAME "ttbqt"

#define USER_AGENT "ttbqt - A QT Teletekst Browser"

#define LICENCE "GPL v3"
#define PROJECT_URL "http://code.google.com/p/ttbqt/"

#define MIN_PAGE_RANGE 100
#define MAX_PAGE_RANGE 999

#define MIN_SUB_PAGE_RANGE 1
#define MAX_SUB_PAGE_RANGE 16

#endif

